//
//  ChooseAgeView.swift
//  loveHHEveryDay
//
//  Created by yw on 2025/4/8.
//

import SwiftUI

struct ChooseAgeView: View {
    @Binding var birthday:Date
    var body: some View {
        VStack {
            DatePicker("生日", selection: $birthday,displayedComponents: [.date])
                .datePickerStyle(.wheel)
                .frame(width: 300)
            Spacer()
        }.frame(maxWidth: .infinity)
            .frame(height:220)
            .padding(.vertical,80)
    }
}


